package com.zpb.admin.service;

import com.zpb.admin.domain.dto.MenuQueryDto;
import com.zpb.framework.domain.vo.MenuTreeSelectVo;
import com.zpb.admin.domain.vo.MenuVo;
import com.zpb.framework.domain.ApiResult;
import com.zpb.framework.domain.entity.Menu;

import java.util.List;

/**
 * @Description:
 * @Author: zhaopengbo
 * @Date: 2025/9/21
 */
public interface MenuService {
    ApiResult<List<MenuVo>> getMenuListByCondition(MenuQueryDto menuQueryDto);

    ApiResult addMenu(Menu menu);

    ApiResult<MenuVo> getMenuById(Long id);

    ApiResult updateMenuById(Menu menu);

    ApiResult deleteMenuById(Long id);

    ApiResult<List<MenuTreeSelectVo>> getMenuTreeSelect();


    List<Long> getCheckedKeysByRoleId(Long roleId);
}
